﻿<%@ Page Language="C#" Inherits="E.Web.training.info.UpdatePwd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
  <title>更改密码</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" href="/css/main.css" type="text/css" media="all" />
  <link rel="stylesheet" href="/css/t_main.css" type="text/css" media="all" />
  <link rel="stylesheet" href="/css/t_info.css" type="text/css" media="all" />
  <script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script>
  <script type="text/javascript">
    function ChkForm() {
      var o_pwd = $("#OriginalPwdTxt").val();
      var n_pwd = $("#NewPwdTxt").val();
      var cn_pwd = $("#ConfirmNewPwdTxt").val();
      if (o_pwd.length < 6 || n_pwd.length < 6 || cn_pwd.length < 6 || n_pwd != cn_pwd) {
        alert("两遍密码不符或长度小于6位");
        return false;
      } else {
        return true;
      }
    }
  </script>
</head>
<body>
<form id="form1" method="post" action="">
  <div class="m_top"></div>
  <div class="block">
    <div style="width:650px; height:22px;">
      <img alt="" src="/images/training/icon/key.gif" class="fl" />
      <div class="title">&nbsp;修改密码</div>
    </div>
    <div class="spe_line_1"></div>
    <div style="margin-top:10px; width:650px; display:table;">
      <div class="fl" style="width:100px; line-height:20px; _line-height:23px;">旧密码</div>
      <div class="fl"><input type="password" id="OriginalPwdTxt" name="OriginalPwdTxt" style="width:150px;" maxlength="50" /></div>
    </div>
    <div style="margin-top:10px; width:650px; display:table;">
      <div class="fl" style="width:100px; line-height:20px; _line-height:23px;">新密码</div>
      <div class="fl"><input type="password" id="NewPwdTxt" name="NewPwdTxt" style="width:150px;" maxlength="50" /></div>
    </div>
    <div style="margin-top:10px; width:650px; display:table;">
      <div class="fl" style="width:100px; line-height:20px; _line-height:23px;">再输入新密码</div>
      <div class="fl"><input type="password" id="ConfirmNewPwdTxt" name="ConfirmNewPwdTxt" style="width:150px;" maxlength="50" /></div>
    </div>
    <div style="margin:10px 0 0 120px;"><input type="image" src="/images/training/btn/confirm.gif" style="width:52px; height:22px;" onclick="return ChkForm();" /></div>
  </div>
</form>
</body>
</html>
